import java.util.ArrayList;
import java.util.List;


public class BookLend {
	private final List<BookCopy> books = new ArrayList<BookCopy>();
	private Byte returnDays;
	private final Reader reader;
	
	
	public BookLend(Byte returnDays, Reader reader) {
		this.returnDays = returnDays;
		this.reader = reader;
	}
	
	public List<BookCopy> getBooks() {
		return books;
	}
	
	public Byte getReturnDays() {
		return returnDays;
	}
	
	public int passDay() {
		return --returnDays;
	}
	
	public Reader getReader() {
		return reader;
	}
	
	public void addBookCopy(BookCopy book) {
		book.setStatus(BookCopy.Status.takenForHome);
		book.setLend(this);
		books.add(book);
		
		asd
	}
}
